package com.xs.business.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xs.common.annotation.Excel;
import com.xs.common.core.domain.BaseEntity;


public class TSku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "")
    private Integer skuId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String skuName;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal skuPrice;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String skuDesc;

    /** 类型 */
    @Excel(name = "类型")
    private Long typeId;

    /** 图片url */
    @Excel(name = "图片url")
    private String url;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private Long skuStatus;

    /** 销量 */
    @Excel(name = "销量")
    private Long skuSales;

    /** 库存 */
    @Excel(name = "库存")
    private Long skuStock;


    /////////// vo部分
    private String num;
    private Long userId;
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }

    public String getSkuDesc() {
        return skuDesc;
    }

    public void setSkuDesc(String skuDesc) {
        this.skuDesc = skuDesc;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getSkuStatus() {
        return skuStatus;
    }

    public void setSkuStatus(Long skuStatus) {
        this.skuStatus = skuStatus;
    }

    public Long getSkuSales() {
        return skuSales;
    }

    public void setSkuSales(Long skuSales) {
        this.skuSales = skuSales;
    }

    public Long getSkuStock() {
        return skuStock;
    }

    public void setSkuStock(Long skuStock) {
        this.skuStock = skuStock;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("skuId", getSkuId())
            .append("skuName", getSkuName())
            .append("skuPrice", getSkuPrice())
            .append("skuDesc", getSkuDesc())
            .append("typeId", getTypeId())
            .append("url", getUrl())
            .append("skuStatus", getSkuStatus())
            .append("skuSales", getSkuSales())
            .append("skuStock", getSkuStock())
            .toString();
    }

}
